import { Module } from 'vuex'
import { ISystemState } from './type'
import { IRootState } from '@/store/types'

// import { getPageListData } from '@/service/main/system/system'
const systemModule: Module<ISystemState, IRootState> = {
  namespaced: true,
  state() {
    return {
      userList: [],
      userCount: 0
    }
  },
  actions: {
    // async getPageListAction({ commit }, payload: any) {
    //   // const data = await getPageListData(payload.pageUrl, payload.queryInfo)
    //   // console.log(data)
    // }
  }
}

export default systemModule
